package com.itwanyan.m3u8loaderbypublic.dbdata;

import org.litepal.crud.DataSupport;

/**
 * Created by Administrator on 2018/8/10.
 */

public class TsFileLoadRecord extends DataSupport{
    private  String videoId;
    private String fileName;
    private String basePath;
    private long loadLength;
    private int tsIndex;
    private boolean finishState ;

    public TsFileLoadRecord() {
    }

    public TsFileLoadRecord(String videoId, String fileName,String basePath, long loadLength, int tsIndex, boolean finishState) {
        this.videoId = videoId;
        this.fileName = fileName;
        this.loadLength = loadLength;
        this.tsIndex = tsIndex;
        this.basePath = basePath;

        this.finishState = finishState;
    }

    public String getVideoId() {
        return videoId;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }


    public long getLoadLength() {
        return loadLength;
    }

    public void setLoadLength(long loadLength) {
        this.loadLength = loadLength;
    }

    public int getTsIndex() {
        return tsIndex;
    }

    public void setTsIndex(int tsIndex) {
        this.tsIndex = tsIndex;
    }
    public boolean isFinishState() {
        return finishState;
    }

    public void setFinishState(boolean finishState) {
        this.finishState = finishState;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getBasePath() {
        return basePath;
    }

    public void setBasePath(String basePath) {
        this.basePath = basePath;
    }
}
